Part Number Hot Search : 
RMD05615 NJM78 110ZA1T R5F2128 D42C10 C1404 B380C 68HC90
Product Description
Full Text Search
 

To Download AD9838 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  11 mw power, 2.3 v to 5.5 v, complete dds AD9838 rev. a information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. specifications subject to change without notice. no license is granted by implication or otherwise under any patent or patent rights of analog devices. trademarks and registered trademarks are the property of their respective owners. one technology way, p.o. box 9106, norwood, ma 02062-9106, u.s.a. tel: 781.329.4700 www.analog.com fax: 781.461.3113 ?2011 analog devices, inc. all rights reserved. features 2.3 v to 5.5 v power supply mclk speed: 16 mhz (b grade), 5 mhz (a grade) output frequency up to 8 mhz sinusoidal and triangular outputs on-board comparator 3-wire spi interface extended temperature range: ?40c to +125c power-down option 11 mw power consumption at 2.3 v 20-lead lfcsp applications frequency stimulus/waveform generation frequency phase tuning and modulation low power rf/communications systems liquid and gas flow measurement sensory applications: proximity, motion, and defect detection test and medical equipment general description the AD9838 is a low power dds device capable of producing high performance sine and triangular outputs. it also has an on-board comparator that allows a square wave to be produced for clock generation. consuming only 11 mw of power at 2.3 v, the AD9838 is an ideal candidate for power-sensitive applications. capability for phase modulation and frequency modulation is provided. the frequency registers are 28 bits wide: with a 16 mhz clock rate, resolution of 0.06 hz can be achieved; with a 5 mhz clock rate, the AD9838 can be tuned to 0.02 hz resolution. frequency and phase modulation are configured by loading registers through the serial interface and by toggling the registers using software or the fselect and pselect pins, respectively. the AD9838 is written to via a 3-wire serial interface. this serial interface operates at clock rates up to 40 mhz and is compatible with dsp and microcontroller standards. the device operates with a power supply from 2.3 v to 5.5 v. the analog and digital sections are independent and can be run from different power supplies; for example, avdd can equal 5 v with dvdd equal to 3 v. the AD9838 has a power-down pin (sleep) that allows external control of the power-down mode. sections of the device that are not being used can be powered down to minimize current con- sumption. for example, the dac can be powered down when a clock output is being generated. the AD9838 is available in a 20-lead lfcsp_wq package. functional block diagram 12 mux mux comparator msb cap/2.5v dvdd agnd avdd mclk AD9838 fsync sclk sdata comp iout ioutb dgnd regulator refout fsadjust vin fselect 12-bit phase0 reg 12-bit phase1 reg sleep reset pselect mux mux mux sign bit out vcc 2.5v on-board reference 16-bit control register full-scale control 10-bit dac divide by 2 sin rom phase accumulator (28-bit) 28-bit freq0 reg 28-bit freq1 reg serial interface and control logic 09077-001 figure 1. www..net
AD9838 rev. a | page 2 of 32 table of contents features .............................................................................................. 1 ? applications....................................................................................... 1 ? general description ......................................................................... 1 ? functional block diagram .............................................................. 1 ? revision history ............................................................................... 2 ? specifications..................................................................................... 3 ? timing characteristics ................................................................ 5 ? absolute maximum ratings............................................................ 6 ? thermal resistance ...................................................................... 6 ? esd caution.................................................................................. 6 ? pin configuration and function descriptions............................. 7 ? typical performance characteristics ............................................. 9 ? test circuit ...................................................................................... 12 ? terminology .................................................................................... 13 ? theory of operation ...................................................................... 14 ? circuit description......................................................................... 15 ? numerically controlled oscillator plus phase modulator ... 15 ? sin rom ..................................................................................... 15 ? digital-to-analog converter (dac) ....................................... 15 ? comparator ................................................................................. 15 ? regulator...................................................................................... 16 ? functional description.................................................................. 17 ? serial interface ............................................................................ 17 ? latency period ............................................................................ 17 ? control register ......................................................................... 17 ? frequency and phase registers ................................................ 19 ? reset function ............................................................................ 20 ? sleep function ............................................................................ 20 ? sign bit out pin.................................................................... 21 ? iout and ioutb pins ............................................................. 21 ? powering up the AD9838 ......................................................... 21 ? applications information .............................................................. 24 ? grounding and layout .............................................................. 24 ? interfacing to microprocessors................................................. 24 ? evaluation board ............................................................................ 26 ? system demonstration platform.............................................. 26 ? AD9838 to sport interface..................................................... 26 ? evaluation kit ............................................................................. 26 ? crystal oscillator vs. external clock....................................... 26 ? power supply............................................................................... 26 ? evaluation board schematics ................................................... 27 ? evaluation board layout........................................................... 29 ? outline dimensions ....................................................................... 30 ? ordering guide .......................................................................... 30 ? revision history 4/11rev. 0 to rev. a change to title.................................................................................. 1 change to figure 3 ........................................................................... 5 change to figure 8 ........................................................................... 9 4/11revision 0: initial version
AD9838 rev. a | page 3 of 32 specifications avdd = dvdd = 2.3 v to 5.5 v, agnd = dgnd = 0 v, t a = t min to t max , r set = 6.8 k, r load = 200 for iout and ioutb, unless otherwise noted. table 1. parameter 1 min typ max unit test conditions/comments signal dac specifications resolution 10 bits update rate a grade 5 msps b grade 16 msps i out full scale 2 3.0 ma v out maximum 0.6 v v out minimum 30 mv output compliance 3 0.8 v dc accuracy integral nonlinearity (inl) 1 lsb differential nonlinearity (dnl) 0.5 lsb dds specifications dynamic specifications signal-to-noise ratio (snr) a grade ?63 db f mclk = 5 mhz, f out = f mclk /4096 b grade ?64 db f mclk = 16 mhz, f out = f mclk /4096 total harmonic distortion (thd) a grade ?64 dbc f mclk = 5 mhz, f out = f mclk /4096 b grade ?64 dbc f mclk = 16 mhz, f out = f mclk /4096 spurious-free dynamic range (sfdr) wideband (0 to nyquist) a grade ?68 dbc f mclk = 5 mhz, f out = f mclk /50 b grade ?66 dbc f mclk = 16 mhz, f out = f mclk /50 narrow-band (200 khz) a grade ?97 dbc f mclk = 5 mhz, f out = f mclk /50 b grade ?92 dbc f mclk = 16 mhz, f out = f mclk /50 clock feedthrough a grade ?68 dbc f mclk = 5 mhz, f out = reset b grade ?65 dbc f mclk = 16 mhz, f out = reset wake-up time 1 ms comparator input voltage range 1 v p-p ac-coupled internally input capacitance 10 pf input high-pass cutoff frequency 3 mhz input dc resistance 5 m input leakage current 10 a output buffer output rise/fall time 12 ns using a 15 pf load output jitter 120 ps rms 3 mhz sine wave 0.6 v p-p voltage reference internal reference 1.11 1.18 1.24 v refout output impedance 4 1 k reference tc 100 ppm/c fsadjust voltage 1.14 v
AD9838 rev. a | page 4 of 32 parameter 1 min typ max unit test conditions/comments logic inputs input high voltage, v inh 1.7 v 2.3 v to 2.7 v power supply 2.0 v 2.7 v to 3.6 v power supply 2.8 v 4.5 v to 5.5 v power supply input low voltage, v inl 0.6 v 2.3 v to 2.7 v power supply 0.7 v 2.7 v to 3.6 v power supply 0.8 v 4.5 v to 5.5 v power supply input current, i inh /i inl 10 a input capacitance, c in 3 pf power supplies avdd 2.3 5.5 v f mclk = 16 mhz, f out = f mclk /4096 dvdd 2.3 5.5 v i aa 5 3.7 5 ma i dd 5 i dd code dependent; see figure 7 a grade 0.9 2 ma b grade 1.2 2.4 ma i aa + i dd 5 see figure 6 a grade 4.6 7 ma b grade 4.9 7.4 ma low power sleep mode dac powered down; see table 17 a grade 0.4 ma b grade 0.4 ma 1 operating temperature range is ?40c to +125c; typical specifications are at 25c. 2 for compliance with the specified load of 200 , i out full scale should not exceed 4 ma. 3 guaranteed by design. 4 applies when refout is sourcing current. the impedance is higher when refout is sinking current. 5 measured with the digital inputs static and equal to 0 v or dvdd.
AD9838 rev. a | page 5 of 32 timing characteristics dvdd = 2.3 v to 5.5 v, agnd = dgnd = 0 v, unless otherwise noted. table 2. parameter 1 limit at t min to t max unit description t 1 200/62.5 ns min mclk period (5 mhz/16 mhz) t 2 80/26 ns min mclk high duration (5 mhz/16 mhz) t 3 80/26 ns min mclk low duration (5 mhz/16 mhz) t 4 25 ns min sclk period t 5 10 ns min sclk high duration t 6 10 ns min sclk low duration t 7 5 ns min fsync to sclk falling edge setup time t 8 10 ns min sclk falling edge to fsync rising edge time t 4 ? 5 ns max t 9 5 ns min data setup time t 10 3 ns min data hold time t 11 8 ns min fselect, pselect setup time before mclk rising edge t 11a 8 ns min fselect, pselect setup time after mclk rising edge t 12 5 ns min sclk high to fsync falling edge setup time 1 guaranteed by design; not production tested. timing diagrams mclk t 1 t 3 t 2 09077-003 figure 2. master clock fselect, pselect valid data valid data valid data mclk t 11a t 11 09077-004 figure 3. control timing d0 sclk fsync sdata d15 d14 d2 d1 d15 d14 t 12 t 7 t 6 t 8 t 5 t 4 t 9 t 10 09077-005 figure 4. serial timing
AD9838 rev. a | page 6 of 32 absolute maximum ratings t a = 25c, unless otherwise noted. table 3. parameter rating avdd to agnd ?0.3 v to +6 v dvdd to dgnd ?0.3 v to +6 v avdd to dvdd ?0.3 v to +0.3 v agnd to dgnd ?0.3 v to +0.3 v cap/2.5v 2.75 v digital i/o voltage to dgnd ?0.3 v to dvdd + 0.3 v analog i/o voltage to agnd ?0.3 v to avdd + 0.3 v operating temperature range industrial (b version) ?40c to +125c storage temperature range ?65c to +150c maximum junction temperature 150c lead temperature, soldering (10 sec) 300c ir reflow, peak temperature 220c reflow soldering (pb free) peak temperature 260c (+0/?5) time at peak temperature 10 sec to 40 sec stresses above those listed under absolute maximum ratings may cause permanent damage to the device. this is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. thermal resistance ja is specified for the worst-case conditions, that is, a device soldered in a circuit board for surface-mount packages. table 4. thermal resistance package type ja jc unit 20-lead lfcsp_wq (cp-20-10) 49.5 5.3 c/w esd caution
AD9838 rev. a | page 7 of 32 pin configuration and fu nction descriptions 09077-006 14 13 12 1 3 4 vin 15 agnd sign bit out fsync 11 sclk avdd cap/2.5v 2 dvdd dgnd 5 mclk 7 p s e l e c t 6 f s e l e c t 8 r e s e t 9 s l e e p 1 0 s d a t a 1 9 r e f o u t 2 0 c o m p 1 8 f s a d j u s t 1 7 i o u t b 1 6 i o u t (not to scale) notes 1. connect exposed pad to ground. AD9838 top view figure 5. pin configuration table 5. pin function descriptions pin no. mnemonic description 1 avdd positive power supply for the analog section. avdd can have a value from 2.3 v to 5.5 v. a 0.1 f decoupling capacitor should be connected between avdd and agnd. 2 dvdd positive power supply for the digital section. dvdd can have a value from 2.3 v to 5.5 v. a 0.1 f decoupling capacitor should be connected between dvdd and dgnd. 3 cap/2.5v the digital circuitry operates from a 2.5 v power supply. this 2.5 v is generated from dvdd using an on-board regulator when dvdd exceeds 2.7 v. the regulator requires a decoupling capacitor of 100 nf typical, which is connected from cap/2.5v to dgnd. if dvdd is less than or equal to 2.7 v, cap/2.5v should be shorted to dvdd. 4 dgnd digital ground. 5 mclk digital clock input. dds output frequencies are expressed as a binary fraction of the frequency of mclk. the output frequency accuracy and phase no ise are determined by this clock. 6 fselect frequency select input. fselect controls which frequenc y register, freq0 or freq1, is used in the phase accumulator. the frequency register to be used can be selected using the fselect pin or the fsel bit. when the fsel bit is used to select the frequency register, the fselect pin should be tied to cmos high or low. 7 pselect phase select input. pselect controls which phase register, phase0 or phase1 , is added to the phase accumulator output. the phase register to be used can be selected using the pselect pin or the psel bit. when the psel bit is used to select the phase register, the pselect pin should be tied to cmos high or low. 8 reset active high digital input. this pin resets the appropriate internal registers to 0 (this corresponds to an analog output of midscale). reset does not affect any of the addressable registers. 9 sleep active high digital input. when this pin is high, the dac is powered down. this pin has the same function as the sleep12 control bit. 10 sdata serial data input. the 16-bit seri al data-word is applied to this input. 11 sclk serial clock input. data is clocked into the AD9838 on each falling edge of sclk. 12 fsync active low control input. fsync is the frame synchronization signal for the input data. when fsync is taken low, the internal logic is informed that a new word is being loaded into the device. 13 sign bit out logic output. the comparator output is available on this pin or, alternatively, the msb from the nco can be output on this pin. setting the opbiten bit in the control register to 1 enables this output pin. the sign/pib bit determines whether the comparator output or th e msb from the nco is output on this pin. 14 vin input to comparator. the comparator can be used to ge nerate a square wave from the sinusoidal dac output. the dac output should be filtered appr opriately before it is applied to the comparator to reduce jitter. when the opbiten and sign/pib bits in the control register ar e set to 1, the comparator input is connected to vin. 15 agnd analog ground. 16, 17 iout, ioutb current output. this is a high impedance current source. a load resistor of nominally 200 should be connected between iout and agnd. ioutb should be tied to agnd th rough an external load resistor of 200 , but it can be tied directly to agnd. a 20 pf capacitor to agnd is also recommended to prevent clock feedthrough.
AD9838 rev. a | page 8 of 32 pin no. mnemonic description 18 fsadjust full-scale adjust control. a resistor (r set ) is connected between this pin and agnd to determine the magnitude of the full-scale dac current. the relationship between r set and the full-scale current is as follows: iout full scale = 18 fsadjust / r set fsadjust = 1.14 v nominal, r set = 6.8 k typical 19 refout voltage reference output. the AD9838 has an intern al 1.20 v reference that is available at this pin. 20 comp dac bias pin. this pin is used for decoupling the dac bias voltage. ep exposed pad. connect the exposed pad to ground.
AD9838 rev. a | page 9 of 32 typical performance characteristics 6.0 5.5 5.0 4.5 4.0 3.5 3.0 024681012141618 mclk frequency (mhz) i dd + i aa (ma) 09077-020 vdd = 5v vdd = 3v figure 6. typical current consumption (i dd + i aa ) vs. mclk frequency for f out = mclk/10 2.5 2.0 1.5 1.0 0.5 0 024681012141618 mclk frequency (mhz) i dd (ma) 09077-021 vdd = 5v vdd = 3v figure 7. typical current consumption (i dd ) vs. mclk frequency for f out = mclk/10 ? 91 ?92 ?93 ?94 ?95 ?96 ?97 ?98 ?99 02 46810121416 mclk frequency (mhz) sfdr (db) 09077-022 avdd = dvdd = 3v t a = 25c 200khz mclk/50 mclk/7 figure 8. narrow-band sfdr vs. mclk frequency ? 40 ?45 ?50 ?55 ?60 ?65 ?70 ?75 ?80 161 1 mclk frequency (mhz) sfdr (db) 09077-023 1 6 mclk/50 mclk/7 avdd = dvdd = 3v t a = 25c 0hz to nyquist figure 9. wideband sfdr vs. mclk frequency ? 40 ?45 ?50 ?55 ?60 ?65 ?70 024681012141618 mclk frequency (mhz) snr (db) 09077-024 figure 10. snr vs. mclk frequency 1000 900 800 700 600 500 400 ?40 ?20 0 20 40 60 80 100 120 140 temperature (c) wake-up time (s) 09077-037 vdd = 2.3v vdd = 5.5v figure 11. wake-up time vs. temperature
AD9838 rev. a | page 10 of 32 1.178 1.176 1.174 1.172 1.170 1.168 1.166 1.180 1.164 ?40 ?20 0 20 40 60 80 100 120 140 temperature (c) v ref (v) 09077-038 vdd = 2.7v vdd = 5.0v figure 12. v ref vs. temperature 0.20 0 ?40 ?20 0 20 40 60 80 100 09077-045 temperature (c) dvdd (v) 0.18 0.16 0.14 0.12 0.10 0.08 0.06 0.04 0.02 dvdd = 3.3v dvdd = 5.5v dvdd = 2.3v figure 13. sign bit out pin, low level, i sink = 1 ma 5.5 1.5 ?40 ?20 0 20 40 60 80 100 09077-046 temperature (c) dvdd (v) 5.0 4.5 4.0 3.5 3.0 2.5 2.0 dvdd = 2.3v dvdd = 2.7v dvdd = 3.3v dvdd = 4.5v dvdd = 5.5v figure 14. sign bit out pin, high level, i sink = 1 ma 0 ?10 ?20 ?30 ?40 ?50 ?60 ?70 ?80 ?90 ?100 0 102030405060708090100 frequency (khz) power (db) 09077-047 figure 15. power vs. frequency, f mclk = 16 mhz, f out = 3.8 khz, frequency word = 0x000fba9 0 ?10 ?20 ?30 ?40 ?50 ?60 ?70 ?80 ?90 ?100 0 102030405060708090100 frequency (khz) power (db) 09077-048 figure 16. power vs. frequency, f mclk = 5 mhz, f out = 1.2 khz, frequency word = 0x000fba9 0 ?10 ?20 ?30 ?40 ?50 ?60 ?70 ?80 ?90 ?100 0 0.51.01.52.02. frequency (mhz) power (db) 09077-049 5 figure 17. power vs. frequency, f mclk = 5 mhz, f out = 0.714 mhz = f mclk /7, frequency word = 0x2492492
AD9838 rev. a | page 11 of 32 0 ?10 ?20 ?30 ?40 ?50 ?60 ?70 ?80 ?90 0246 1357 frequency (mhz) power (db) 09077-050 8 figure 18. power vs. frequency, f mclk = 16 mhz, f out = 2.28 mhz, frequency word = 0x2492492
AD9838 rev. a | page 12 of 32 test circuit r set 6.8k ? iout 12 10-bit dac 20pf fsadjust AD9838 regulator 100n f cap/2.5v 10nf refout comp 10nf avdd sin rom r load 200 ? on-board reference full-scale control 09077-002 figure 19. test circuit used to test specifications
AD9838 rev. a | page 13 of 32 terminology integral nonlinearity (inl) total harmonic distortion (thd) inl is the maximum deviation of any code from a straight line passing through the endpoints of the transfer function. the endpoints of the transfer function are zero scale, a point 0.5 lsb below the first code transition (000 00 to 000 01), and full scale, a point 0.5 lsb above the last code transition (111 10 to 111 11). the error is expressed in lsbs. total harmonic distortion (thd) is the ratio of the rms sum of harmonics to the rms value of the fundamental. for the AD9838, thd is defined as 1 2 6 2 5 2 4 2 3 2 2 log20 v vvvvv thd ++++ = differential nonlinearity (dnl) where: v 1 is the rms amplitude of the fundamental. v 2 , v 3 , v 4 , v 5 , and v 6 are the rms amplitudes of the second through sixth harmonics. dnl is the difference between the measured and ideal 1 lsb change between two adjacent codes in the dac. a specified dnl of 1 lsb maximum ensures monotonicity. output compliance signal-to-noise ratio (snr) output compliance refers to the maximum voltage that can be generated at the output of the dac to meet the specifications. when voltages greater than that specified for the output compli- ance are generated, the AD9838 may not meet the specifications listed in the data sheet. snr is the ratio of the rms value of the measured output signal to the rms sum of all other spectral components below the nyquist frequency. the value for snr is expressed in decibels. clock feedthrough there is feedthrough from the mclk input to the analog output. clock feedthrough refers to the magnitude of the mclk signal relative to the fundamental frequency in the output spectrum of the AD9838. spurious-free dynamic range (sfdr) along with the frequency of interest, harmonics of the funda- mental frequency and images of these frequencies are present at the output of a dds device. the spurious-free dynamic range (sfdr) refers to the largest spur or harmonic present in the band of interest. the wideband sfdr gives the magnitude of the largest spur or harmonic relative to the magnitude of the fundamental frequency in the 0 to nyquist bandwidth. the narrow-band sfdr gives the attenuation of the largest spur or harmonic in a bandwidth of 200 khz about the fundamental frequency.
AD9838 rev. a | page 14 of 32 theory of operation sine waves are typically thought of in terms of their magnitude form: a(t) = sin(t). however, sine waves are nonlinear and not easy to generate except through piecewise construction. on the other hand, the angular information is linear in nature; that is, the phase angle rotates through a fixed angle for each unit of time. the angular rate depends on the frequency of the signal by the traditional rate of = 2 f . magnitude phase +1 0 ?1 2 28 0 2 4 6 2 4 6 09077-025 figure 20. sine wave knowing that the phase of a sine wave is linear and given a reference interval (clock period), the phase rotation for that period can be determined as follows: phase = t (1) solving for , = phase/ t = 2 f (2) solving for f and substituting the reference clock frequency for the reference period (1/f mclk = t), f = phase f mclk M2 (3) the AD9838 builds the output base d on this simple equation. a simple dds chip can implement this equation with three major subcircuits: numerically controlled oscillator (nco) plus phase modulator, sin rom, and digital-to-analog converter (dac). each subcircuit is described in the circuit description section.
AD9838 rev. a | page 15 of 32 circuit description the AD9838 is a fully integrated direct digital synthesis (dds) chip. the chip requires one reference clock, one low precision resistor, and eight decoupling capacitors to provide digitally created sine waves up to 8 mhz. in addition to the generation of this rf signal, the chip is fully capable of a broad range of simple and complex modulation schemes. these modulation schemes are fully implemented in the digital domain, allowing accurate and simple realization of complex modulation algo- rithms using dsp techniques. the internal circuitry of the AD9838 consists of the following main sections: a numerically controlled oscillator (nco), frequency and phase modulators, sin rom, a digital-to-analog converter, a comparator, and a regulator. numerically controlled oscillator plus phase modulator the AD9838 consists of two frequency select registers, a phase accumulator, two phase offset registers, and a phase offset adder. the main component of the nco is a 28-bit phase accumulator. continuous time signals have a phase range of 0 to 2. outside this range of numbers, the sinusoid functions repeat themselves in a periodic manner. the digital implementation is no different. the accumulator simply scales the range of phase numbers into a multibit digital word. the phase accumulator in the AD9838 is implemented with 28 bits. therefore, in the AD9838, 2 = 2 28 . likewise, the phase term is scaled into this range of numbers: 0 < phase < 2 28 ? 1 with these substitutions, equation 3 becomes f = phase f mclk M2 28 (4) where 0 < phase < 2 28 ? 1. the input to the phase accumulator can be selected from either the freq0 register or the freq1 register and is controlled by the fselect pin or the fsel bit in the control register. ncos inherently generate continuous phase signals, thus avoiding any output discontinuity when switching between frequencies. following the nco, a phase offset can be added to perform phase modulation using the 12-bit phase registers. the contents of one of these phase registers is added to the msbs of the nco. the AD9838 has two phase registers; their resolution is 2/4096. sin rom to make the output from the nco useful, it must be converted from phase information into a sinusoidal value. because phase information maps directly to amplitude, the sin rom uses the digital phase information as an address to a lookup table and converts the phase information into amplitude. although the nco contains a 28-bit phase accumulator, the output of the nco is truncated to 12 bits. using the full reso- lution of the phase accumulator is impractical and unnecessary because a lookup table of 2 28 entries would be required. it is only necessary to have sufficient phase resolution such that the errors due to truncation are smaller than the resolution of the 10-bit dac. therefore, the sin rom must have two bits of phase resolution more than the 10-bit dac. the sin rom is enabled using the opbiten and mode bits (bit d5 and bit d1) in the control register (see table 19 ). digital-to-analog converter (dac) the AD9838 includes a high impedance, current source, 10-bit dac capable of driving a wide range of loads. the full-scale output current can be adjusted for optimum power and external load requirements using a single external resistor (r set ). the dac can be configured for single-ended or differential operation. the iout and ioutb pins can be connected through equal external resistors to agnd to develop complementary output voltages. the load resistors can be of any value required, as long as the full-scale voltage developed across them does not exceed the output compliance range. because full-scale current is controlled by r set , adjustments to r set can balance changes made to the load resistors. comparator the AD9838 can be used to generate synthesized digital clock signals. this is accomplished by using the on-board self-biasing comparator that converts the sinusoidal signal of the dac to a square wave. the output from the dac can be filtered externally before being applied to the comparator input. the comparator reference voltage is the time average of the signal applied to vin. the comparator can accept signals in the range of approximately 100 mv p-p to 1 v p-p. the comparator input is ac-coupled; therefore, to operate correctly as a zero-crossing detector, the comparator requires a minimum input frequency of 3 mhz typ- ical. the comparator output is a square wave with an amplitude from 0 v to dvdd. the AD9838 provides a sampled signal with its output follow- ing nyquist sampling theorem. specifically, its output spectrum contains the fundamental plus aliased signals (images) that occur at multiples of the reference clock frequency and the selected output frequency. a graphical representation of the sampled spectrum, with aliased images, is shown in figure 21 .
AD9838 rev. a | page 16 of 32 the prominence of the aliased images depends on the ratio of f out to mclk. if the ratio is small, the aliased images are very prominent and of a relatively high energy level as determined by the sin(x)/x roll-off of the quantized dac output. in fact, depend- ing on the f out /reference clock ratio, the first aliased image can be on the order of ?3 db below the fundamental. a low-pass filter is generally placed between the output of the dac and the input of the comparator to further suppress the effects of aliased images. to avoid unwanted (and unexpected) output anomalies, it is necessary to consider the relationship of the selected output frequency and the reference clock frequency. to apply the AD9838 as a clock generator, limit the selected output frequency to <33% of the reference clock frequency. in this way, the user can prevent the generation of aliased signals that fall within, or close to, the output band of interest (generally the dc selected output frequency). this practice reduces the complexity (and cost) of the external filter requirement for the clock generator application. for more information, see the an-837 application note . to enable the comparator, the sign/pib and opbiten bits in the control resister must be set to 1 (see table 1 8 ). regulator the AD9838 has separate power supplies for the analog and digital sections. avdd provides the power supply required for the analog section, and dvdd provides the power supply for the digital section. both supplies can have a value of 2.3 v to 5.5 v and are independent of each other. for example, the analog section can be operated at 5 v, and the digital section can be operated at 3 v, or vice versa. the internal digital section of the AD9838 is operated at 2.5 v. an on-board regulator steps down the voltage applied at dvdd to 2.5 v. the digital interface (serial port) of the AD9838 also operates from dvdd. these digital signals are level shifted within the AD9838 to make them 2.5 v compatible. if the voltage applied at the dvdd pin of the AD9838 is less than or equal to 2.7 v, the cap/2.5v and dvdd pins should be tied together to bypass the on-board regulator. system clock f out f c ? f out f c + f out 2 f c ? f out 2 f c + f out 3 f c ? f out 3 f c + f out f c 0hz first image second image third image fourth image fifth image sixth image 2 f c 3 f c frequency (hz) signal amplitude sin(x)/x envelope x = ( f / f c ) 09077-040 figure 21. dac output spectrum
AD9838 rev. a | page 17 of 32 functional description serial interface the AD9838 has a standard 3-wire serial interface that is compatible with the spi, qspi?, microwire?, and dsp interface standards. data is loaded into the device as a 16-bit word under the control of a serial clock input, sclk. the timing diagram for this oper- ation is given in figure 4 . fsync is a level triggered input that acts as a frame synchroni- zation and chip enable input. data can be transferred into the device only when fsync is low. to start the serial data transfer, fsync should be taken low, observing the minimum fsync to sclk falling edge setup time, t 7 (see tabl e 2 ). after fsync goes low, serial data is shifted into the input shift register of the device on the falling edges of sclk for 16 clock pulses. fsync can be taken high after the 16th falling edge of sclk, observing the minimum sclk falling edge to fsync rising edge time, t 8 . alternatively, fsync can be kept low for a multiple of 16 sclk pulses and then brought high at the end of the data transfer. in this way, a continuous stream of 16-bit words can be loaded while fsync is held low; fsync goes high only after the 16th sclk falling edge of the last word loaded. the sclk can be continuous, or it can idle high or low between write operations. in either case, it must be high when fsync goes low (t 12 ). for an example of how to program the AD9838, see the an-1070 application note on the analog devices, inc., website. the AD9838 has the same register settings as the ad9833/ ad9834. latency period a latency period is associated with each operation. when the fselect and pselect pins change value, there is a pipeline delay before control is transferred to the selected register. when the t 11 and t 11a timing specifications are met (see figure 3 ), fselect and pselect have latencies of eight mclk cycles. when the t 11 and t 11a timing specifications are not met, the latency is increased by one mclk cycle. similarly, a latency period is associated with each asynchronous write operation. if a selected frequency or phase register is loaded with a new word, there is a delay of eight or nine mclk cycles before the analog output changes. the delay can be eight or nine mclk cycles, depending on the position of the mclk rising edge when the data is loaded into the destination register. the negative transitions of the reset and sleep pins are sampled on the internal falling edge of mclk. therefore, they also have a latency period associated with them. control register the AD9838 contains a 16-bit control register that allows the user to configure the operation of the AD9838. all control bits other than the mode bit are sampled on the internal falling edge of mclk. figure 22 illustrates the functions of the control bits. table 7 describes the individual bits of the control register. the different functions and the various output options of the AD9838 are described in more detail in the following sections. to inform the AD9838 that the contents of the control register will be altered, bit d15 and bit d14 must be set to 0, as shown in table 6 . table 6. control register bits d15 d14 d13 to d0 0 0 control bits mux sleep12 sleep1 reset opbiten ioutb iout comparator vin sign/pib mux msb sign bit out 0 1 mux 1 0 0 1 digital output (enable) (low power) 10-bit dac divide by 2 sin rom mode + opbiten phase accumulator (28-bit) 09077-026 d15 0 d14 0 d13 b28 d12 hlb d11 fsel d10 psel d9 pin/sw d8 reset d7 sleep1 d6 sleep12 d5 opbiten d4 sign/pib d3 div2 d2 0 d1 mode d0 0 figure 22. function of control bits
AD9838 rev. a | page 18 of 32 table 7. control register bit descriptions bit bit name description d13 b28 two write operations are required to load a complete word into either of the frequency registers. b28 = 1 allows a complete word to be loaded into a freq uency register in two consecutive writes. the first write contains the 14 lsbs of the frequency word, and the second write contains the 14 msbs. the first two bits of each 16-bit word define the frequency register to which the word is loaded and should, therefore, be the same for both consecutive writes. see table 11 for the appropriate addresses. the write to the frequency register occurs after both words have been loaded, so the register never holds an in termediate value. an example of a complete 28-bit write is shown in table 12 . note, however, that consecutive 28-bit writes to the same frequency register are not allowed; to execute consecutive 28-bit writes, you must alternate between the frequency registers. b28 = 0 configures the 28-bit frequency register to operate as two 14-bit registers, one containing the 14 msbs and the other containing the 14 lsbs. in this way, the 14 msbs of the frequency word can be altered independently of the 14 lsbs, and vice versa. to alter the 14 msbs or the 14 lsbs, a single write is made to the appropriate frequency address. bit d12 (hlb) informs the AD9838 whether the bi ts to be altered are the 14 msbs or the 14 lsbs. d12 hlb this control bit allows the user to co ntinuously load the msbs or lsbs of a frequency register while ignoring the remaining 14 bits. this is useful if the complete 28-bit reso lution is not required. the hlb bit is used in conjunction with the b28 bit (bit d13). the hlb bit indicates whether th e 14 bits to be loaded are transferred to the 14 msbs or the 14 lsbs of the addressed frequency register. bit d13 (b28) must be set to 0 to change the msbs or lsbs of a frequency word separately. when bit d13 (b28) is set to 1, the hlb bit is ignored. hlb = 1 allows a write to the 14 msbs of the addressed frequency register. hlb = 0 allows a write to the 14 lsbs of the addressed frequency register. d11 fsel the fsel bit defines whether the freq0 register or the freq1 register is used in the phase accumulator (see table 9 ). d10 psel the psel bit defines whether the phase0 register data or the phase1 register data is added to the output of the phase accumulator (see table 10 ). d9 pin/sw the following functions can be implemented using either software or hardware: frequency register selection, phase register selection, reset of internal registers, and dac po wer-down. the pin/sw bit selects the source of control for these functions. pin/sw = 1 selects the control pins to implement the register selection, reset, and dac power-down functions. pin/sw = 0 selects the control bits to implement the register selection, reset, and dac power-down functions. d8 reset when the pin/sw bit is set to 0, this bit controls the reset function. reset = 1 resets internal registers to 0, which corresponds to an analog output of midscale. reset = 0 disables the reset function (see the reset function section). d7 sleep1 this bit enables or disables the internal mclk. sleep1 = 1 disables the internal mclk. the dac output remains at its present value because the nco is no longer accumulating. sleep1 = 0 enables the internal mclk (see the sleep function section). d6 sleep12 when the pin/sw bit is set to 0, this bit powers down the on-chip dac. sleep12 = 1 powers down the on-chip dac. this is useful when the AD9838 is used to output the msb of the dac data. sleep12 = 0 implies that the dac is active (see the sleep function section). d5 opbiten this bit controls whether an output is available at the sign bit out pin. if the user is not using the sign bit out pin, this bit should be set to 0. opbiten = 1 enables the sign bit out pin. opbiten = 0 places the sign bit out output buffer into a high impedance state (no outp ut is available at the sign bit out pin). d4 sign/pib this bit controls the output at the sign bi t out pin when the opbiten bit (bit d5) is set to 1. sign/pib = 1 connects the on-board comparator to the sign bit out pin. after filtering the sinusoidal output from the dac, the waveform can be applied to the co mparator to generate a square waveform (see table 18 ). sign/pib = 0 connects the msb (or msb/2) of the dac data to the sign bit out pin. bit d3 (div2) controls whether the output is the msb or msb/2. d3 div2 div2 is used when the opbiten bit (bit d5) is set to 1 and the sign/pib bit (bit d4) is set to 0 (see table 18 ). div2 = 1 causes the msb of the dac data to be output at the sign bit out pin. div2 = 0 causes the msb/2 of the dac data to be output at the sign bit out pin. d2 reserved this bit must be set to 0. d1 mode this bit, in association with the opbite n bit (bit d5), controls the output at the iout and ioutb pins. this bit should be set to 0 if the opbiten bit is set to 1 (see table 19 ). mode = 1 bypasses the sin rom, resultin g in a triangle output from the dac. mode = 0 uses the sin rom to convert the phase informatio n into amplitude information, resulting in a sinusoidal signal at the output. d0 reserved this bit must be set to 0.
AD9838 rev. a | page 19 of 32 frequency and phase registers the AD9838 contains two frequency registers and two phase registers, which are described in table 8 . table 8. frequency and phase registers register size description freq0 28 bits frequency register 0. when the fsel bit or fselect pin = 0, the freq0 register defines the output frequency as a fraction of the mclk frequency. freq1 28 bits frequency register 1. when the fsel bit or fselect pin = 1, the freq1 register defines the output frequency as a fraction of the mclk frequency. phase0 12 bits phase offset register 0. when the psel bit or pselect pin = 0, the contents of the phase0 register are added to the output of the phase accumulator. phase1 12 bits phase offset register 1. when the psel bit or pselect pin = 1, the contents of the phase1 register are added to the output of the phase accumulator. the analog output from the AD9838 is f mclk /2 28 freqreg where freqreg is the value loaded into the selected frequency register. this signal is phase shifted by 2/4096 phasereg where phasereg is the value contained in the selected phase register. the relationship of the selected output frequency and the refer- ence clock frequency must be considered to avoid unwanted output anomalies. selecting a frequency or phase register access to the frequency and phase registers is controlled by the fselect and pselect pins or by the fsel and psel control bits. if the pin/sw control bit (bit d9) = 1, the pins control the function; if the pin/sw control bit = 0, the bits control the function (see table 9 and table 10 ). if the fsel and psel bits are used, the pins should be held at cmos logic high or low. control of the frequency and phase registers is interchangeable from the pins to the bits. table 9. selecting a frequency register fselect pin fsel bit pin/sw bit selected register 0 x 1 freq0 1 x 1 freq1 x 0 0 freq0 x 1 0 freq1 table 10. selecting a phase register pselect pin psel bit pin/sw bit selected register 0 x 1 phase0 1 x 1 phase1 x 0 0 phase0 x 1 0 phase1 the fselect and pselect pins are sampled on the internal falling edge of mclk. it is recommended that the data on these pins not change within the time window of the falling edge of mclk (see figure 3 for timing). if the fselect or pselect pin changes value when a falling edge occurs, there is an uncer- tainty of one mclk cycle as it pertains to when control is transferred to the other frequency/phase register. the flowcharts in figure 26 and figure 27 show the routine for selecting and writing to the frequency and phase registers of the AD9838. writing to a frequency register when writing to a frequency register, bit d15 and bit d14 of the control register give the address of the frequency register (see table 11 ). table 11. frequency register bits d15 d14 d13 to d0 0 1 14 freq0 register bits 1 0 14 freq1 register bits to change the entire contents of a frequency register, two consec- utive writes to the same address must be performed because the frequency registers are 28 bits wide. the first write contains the 14 lsbs, and the second write contains the 14 msbs. for this mode of operation, the b28 control bit (bit d13) must be set to 1. an example of a 28-bit write is shown in table 12 . table 12. writing 0xfffc000 to the freq0 register sdata input result of input word 0010 0000 0000 0000 control word write (d15, d14 = 00), b28 (d13) = 1, hlb (d12) = x 0100 0000 0000 0000 freq0 register write (d15, d14 = 01), 14 lsbs = 0x0000 0111 1111 1111 1111 freq0 register write (d15, d14 = 01), 14 msbs = 0x3fff note, however, that continuous writes to the same frequency register may result in intermediate updates during the writes. if a frequency sweep, or something similar, is required, it is recom- mended that users alternate between the two frequency registers.
AD9838 rev. a | page 20 of 32 in some applications, the user does not need to alter all 28 bits of the frequency register. with coarse tuning, only the 14 msbs are altered; with fine tuning, only the 14 lsbs are altered. by setting the b28 control bit (bit d13) to 0, the 28-bit frequency register operates as two 14-bit registers, one containing the 14 msbs and the other containing the 14 lsbs. in this way, the 14 msbs of the frequency word can be altered independently of the 14 lsbs, and vice versa. the hlb bit (bit d12) in the control register identifies which 14 bits are being altered (see table 13 and table 14 ). table 13. writing 0x3fff to the 14 lsbs of the freq1 register sdata input result of input word 0000 0000 0000 0000 control word write (d15, d14 = 00), b28 (d13) = 0, hlb (d12) = 0, that is, lsbs 1011 1111 1111 1111 freq1 register write (d15, d14 = 10), 14 lsbs = 0x3fff table 14. writing 0x00ff to the 14 msbs of the freq0 register sdata input result of input word 0001 0000 0000 0000 control word write (d15, d14 = 00), b28 (d13) = 0, hlb (d12) = 1, that is, msbs 0100 0000 1111 1111 freq0 register write (d15, d14 = 01), 14 msbs = 0x00ff writing to a phase register when writing to a phase register, bit d15 and bit d14 are set to 11. bit d13 identifies the phase register that is being loaded. table 15. phase register bits d15 d14 d13 d12 d11 to d0 1 1 0 x 12 phase0 register bits 1 1 1 x 12 phase1 register bits reset function the reset function resets the appropriate internal registers to 0 to provide an analog output of midscale. a reset does not reset the phase, frequency, or control registers. when the AD9838 is powered up, the part should be reset (see the powering up the AD9838 section). to reset the AD9838, set the reset pin or bit to 1. to take the part out of reset, set the reset pin or bit to 0. a signal appears at the dac output eight or nine mclk cycles after the reset pin or bit is set to 0. the reset function is controlled by either the reset pin or the reset control bit. if the pin/sw control bit = 0, the reset bit controls the function; if the pin/sw control bit = 1, the reset pin controls the function (see table 16 ). table 16. applying the reset function reset pin reset bit pin/sw bit result 0 x 1 no reset applied 1 x 1 internal registers reset x 0 0 no reset applied x 1 0 internal registers reset the effect of asserting the reset pin is immediately evident at the outputthat is, the 0-to-1 transition of this pin is not sampled. however, the negative (1-to-0) transition of the reset pin is sampled on the internal falling edge of mclk. sleep function sections of the AD9838 that are not in use can be powered down to minimize power consumption by using the sleep function. the parts of the chip that can be powered down are the internal clock and the dac. the dac can be powered down using hardware or software (see table 17 ). table 17. applying the sleep function sleep pin sleep1 bit sleep12 bit pin/sw bit result 0 x x 1 no power-down 1 x x 1 dac powered down x 0 0 0 no power-down x 0 1 0 dac powered down x 1 0 0 internal clock disabled x 1 1 0 dac powered down and internal clock disabled dac powered down when the AD9838 is used to output the msb of the dac data only, the dac is not required. the dac can be powered down to reduce power consumption. internal clock disabled when the internal clock of the AD9838 is disabled, the dac output remains at its present value because the nco is no longer accumulating. new frequency, phase, and control words can be written to the part when the sleep1 control bit is active. because the synchronizing clock (fsync) remains active, the selected frequency and phase registers can also be changed either at the pins or by using the control bits. setting the sleep1 bit to 0 enables the mclk. any changes made to the registers while sleep1 was active are observed at the output after a latency period (see the latency period section). the effect of asserting the sleep pin is immediately evident at the outputthat is, the 0-to-1 transition of this pin is not sampled. however, the negative (1-to-0) transition of the sleep pin is sampled on the internal falling edge of mclk.
AD9838 rev. a | page 21 of 32 iout and ioutb pins sign bit out pin the AD9838 offers a variety of outputs from the chip. the digital outputs are available from the sign bit out pin. the available outputs are the comparator output or the msb of the dac data. the bits controlling the sign bit out pin are listed in table 18 . the analog outputs from the AD9838 are available from the iout and ioutb pins. the available outputs are a sinusoidal output or a triangular output (see table 19 ). note that the sleep pin and the sleep12 bit must be set to 0 (the dac is enabled) when using the iout and ioutb pins. table 18. outputs from the sign bit out pin opbiten bit mode bit sign/pib bit div2 bit sign bit out pin 0 x x x high impedance 1 0 0 0 dac data msb/2 1 0 0 1 dac data msb 1 0 1 0 reserved 1 0 1 1 comparator output 1 1 x x reserved table 19. outputs from the iout and ioutb pins opbiten bit mode bit iout and ioutb pin output 0 0 sinusoid 0 1 triangle 1 0 sinusoid 1 1 reserved sinusoidal output the sin rom converts the phase information from the frequency and phase registers into amplitude information, resulting in a sinusoidal signal at the output. to obtain a sinusoidal output from the iout and ioutb pins, set the mode bit (bit d1) to 0. the sign bit out pin must be enabled before use. the opbiten bit (bit d5) in the control register enables and dis- ables this pin. when opbiten = 1, the sign bit out pin is enabled. note that if opbiten = 1, the mode bit (bit d1) in the control register should be set to 0. triangle output comparator output the sin rom can be bypassed so that the truncated digital output from the nco is sent to the dac. in this case, the output is no longer sinusoidal. the dac produces a 10-bit linear triangular function (see figure 23 ). to obtain a triangle output from the iout and ioutb pins, set the mode bit (bit d1) to 1 and the opbiten bit (bit d5) to 0. the AD9838 has an on-board comparator. to connect this com- parator to the sign bit out pin, the opbiten bit (bit d5) and the sign/pib bit (bit d4) must be set to 1. after filtering the sinusoidal output from the dac, the waveform can be applied to the comparator to generate a square waveform. msb of the dac data 3 /2 7 /2 11 /2 v out max v out min 09077-027 the msb of the dac data can be output from the AD9838. by setting the opbiten bit (bit d5) to 1 and the sign/pib bit (bit d4) to 0, the msb of the dac data is available at the sign bit out pin. this output is useful as a coarse clock source. the square wave can also be divided by 2 before being output. the div2 bit (bit d3) in the control register controls the frequency of this output from the sign bit out pin. figure 23. triangle output powering up the AD9838 the flowchart in figure 24 shows the operating routine for the AD9838. when the AD9838 is powered up, the part should be reset. this resets the appropriate internal registers to 0 to provide an analog output of midscale. to avoid spurious dac outputs during AD9838 initialization, the reset pin or the reset bit should be set to 1 until the part is ready to begin generating an output. a reset does not reset the phase, frequency, or control registers. these registers will contain invalid data and, therefore, should be set to known values by the user. the reset pin or bit should then be set to 0 to begin generating an output. the data appears on the dac output eight or nine mclk cycles after the reset pin or bit is set to 0.
AD9838 rev. a | page 22 of 32 change phase? change frequency? no no no no yes no yes yes no yes yes yes yes yes dac output v out = v refout 18 r load /r set (1 + (sin(2 (freqreg f mclk t /2 28 + phasereg/2 12 )))) initialization (see figure 25) select data sources (see figure 27) wait 8/9 mclk cycles (see timing diagram figure 3) change psel/ pselect? change phase register? change dac output from sin to triangle? change output at sign bit out pin? change fsel/ fselect? change frequency register? control register write (see table 7) data write (see figure 26) 09077-028 figure 24. flowchart for AD9838 initialization and operation initialization apply reset using pin set reset pin = 1 using pins using control bit (control register write) reset = 1 pin/sw = 0 (control register write) pin/sw = 1 using control bits set reset = 0 select frequency registers select phase registers (control register write) reset bit = 0 fsel = selected frequency register psel = selected phase register pin/sw = 0 (apply signals at pins) reset pin = 0 fselect = selected frequency register pselect = selected phase register pin/sw = 1 write to frequency and phase registers freq0 reg = f out0 /f mclk 2 28 freq1 reg = f out1 /f mclk 2 28 phase0 and phase1 reg = (phaseshift 2 12 )/2 (see figure 26) 09077-029 figure 25. flowchart for initialization
AD9838 rev. a | page 23 of 32 no yes data write no yes yes no yes no no yes yes write a full 28-bit word to a frequency register? (control register write) b28 (d13) = 1 write two consecutive 16-bit words (see table 12 for example) write another full 28-bit word to a frequency register? write 14 msbs or lsbs to a frequency register? (control register write) b28 (d13) = 0 hlb (d12) = 0/1 write a 16-bit word (see table 13 and table 14 for examples) write 14 msbs or lsbs to a frequency register? write to phase register? d15, d14 = 11 d13 = 0/1 (choose the phase register) d12 = x d11 ... d0 = phase data (16-bit write) write to another phase register? 09077-030 figure 26. flowchart for data writes select data sources yes no fselect and pselect pins being used? (control register write) pin/sw = 0 set fsel bit set psel bit set fselect and pselect pins (control register write) pin/sw = 1 09077-031 figure 27. flowchart for selecting data sources
AD9838 rev. a | page 24 of 32 applications information the various output options available from the AD9838 make the part suitable for a wide variety of applications, including modulation applications. the AD9838 can be used to perform simple modulation, such as frequency shift keying (fsk). more complex modulation schemes, such as gaussian minimum shift keying (gmsk) and quadrature phase shift keying (qpsk), can also be implemented using the AD9838. in an fsk application, the two frequency registers of the AD9838 are loaded with different values. one frequency represents the space frequency, and the other represents the mark frequency. the digital data stream is fed to the fselect pin, causing the AD9838 to modulate the carrier frequency between the two values. the AD9838 has two phase registers, enabling the part to per- form phase shift keying (psk). with psk, the carrier frequency is phase shifted, that is, the phase is altered by an amount that is related to the bit stream input to the modulator. the AD9838 is also suitable for signal generator applications. using the on-board comparator, the device can be used to gen- erate a square wave. with its low current consumption, the part is also suitable for applications in which it can be used as a local oscillator. grounding and layout the printed circuit board that houses the AD9838 should be designed so that the analog and digital sections are separated and confined to certain areas of the board. this facilitates the use of ground planes that can be separated easily. a minimum etch technique is generally best for ground planes because it provides the best shielding. digital and analog ground planes should be joined in one place only. if the AD9838 is the only device that requires an agnd to dgnd connection, the ground planes should be connected at the agnd and dgnd pins of the AD9838. if the AD9838 is in a system where multiple devices require agnd to dgnd connections, the connection should be made at one point only, a star ground point that should be established as close as possible to the AD9838. avoid running digital lines under the device; these lines couple noise onto the die. the analog ground plane should be allowed to run under the AD9838 to avoid noise coupling. the power supply lines to the AD9838 should use as large a track as possible to provide low impedance paths and reduce the effects of glitches on the power supply line. fast switching signals, such as clocks, should be shielded with digital ground to avoid radiating noise to other sections of the board. avoid crossover of digital and analog signals. traces on opposite sides of the board should run at right angles to each other to reduce the effects of feedthrough through the board. a micro- strip technique is by far the best but is not always possible with a double-sided board. in this technique, the component side of the board is dedicated to ground planes and signals are placed on the other side. good decoupling is important. the analog and digital supplies to the AD9838 are independent and separately pinned out to minimize coupling between the analog and digital sections of the device. all analog and digital supplies should be decoupled to agnd and dgnd, respectively, with 0.1 f ceramic capacitors in parallel with 10 f tantalum capacitors. to achieve the best performance from the decoupling capacitors, they should be placed as close as possible to the device, ideally right up against the device. in systems where a common supply is used to drive both the avdd and dvdd pins of the AD9838, it is recommended that the systems avdd supply be used. this supply should have the recommended analog supply decoupling between the avdd pin of the AD9838 and agnd, as well as the recommended digital supply decoupling capacitors between the dvdd pin and dgnd. proper operation of the comparator requires good layout strategy. the layout must minimize the parasitic capacitance between v in and the sign bit out pin by using a ground plane to add isolation. for example, in a multilayered board, the v in signal can be connected to the top layer, and the sign bit out pin can be connected to the bottom layer. in this way, isolation is provided by the power and ground planes between v in and the sign bit out pin. interfacing to microprocessors the AD9838 has a standard serial interface that allows the part to interface directly with several microprocessors. the device uses an external serial clock to write the data or control information into the device. the serial clock can have a frequency of 40 mhz maximum. the serial clock can be continuous, or it can idle high or low between write operations. when data or control informa- tion is written to the AD9838, fsync is taken low and is held low until the 16 bits of data are written into the AD9838. the fsync signal frames the 16 bits of information that are loaded into the AD9838.
AD9838 rev. a | page 25 of 32 AD9838 to 68hc11/68l11 interface figure 28 shows the serial interface between the AD9838 and the 68hc11/68l11 microcontroller. the microcontroller is con- figured as the master by setting the mstr bit in the spcr to 1. this setting provides a serial clock on sck; the mosi output drives the serial data line, sdata. because the microcontroller does not have a dedicated frame sync pin, the fsync signal is derived from a port line (pc7). the setup conditions for correct operation of the interface are as follows: ? sck idles high between write operations (cpol = 0) ? data is valid on the sck falling edge (cpha = 1) when data is to be transmitted to the AD9838, the fsync line (pc7) is taken low. serial data from the 68hc11/68l11 is trans- mitted in 8-bit bytes with only eight falling clock edges occurring in the transmit cycle. data is transmitted msb first. to load data into the AD9838, pc7 is held low after the first eight bits are transferred, and a second serial write operation is performed to the AD9838. only after the second eight bits are transferred should fsync be taken high again. AD9838 fsync sdata sclk 68hc11/68l11 pc7 mosi sck 09077-033 figure 28. 68hc11/68l11 to AD9838 interface AD9838 to 80c51/80l51 interface figure 29 shows the serial interface between the AD9838 and the 80c51/80l51 microcontroller. the microcontroller is oper- ated in mode 0 so that txd of the 80c51/80l51 drives sclk of the AD9838, and rxd drives the serial data line, sdata. the fsync signal is derived from a bit programmable pin on the port (p3.3 is shown in figure 29 ). when data is to be transmitted to the AD9838, p3.3 is taken low. the 80c51/80l51 transmits data in 8-bit bytes with only eight falling sclk edges occurring in each cycle. to load the remain- ing eight bits to the AD9838, p3.3 is held low after the first eight bits are transmitted, and a second write operation is initiated to transmit the second byte of data. p3.3 is taken high following the completion of the second write operation. sclk should idle high between the two write operations. the 80c51/80l51 outputs the serial data in a format that has the lsb first. the AD9838 accepts the msb first (the four msbs are the control information, the next four bits are the address, and the eight lsbs contain the data when writing to a destination register). therefore, the transmit routine of the 80c51/80l51 must take this into account and rearrange the bits so that the msb is output first. AD9838 fsync sdata sclk 80c51/80l51 p3.3 rxd txd 0 9077-034 figure 29. 80c51/80l51 to AD9838 interface AD9838 to dsp56002 interface figure 30 shows the interface between the AD9838 and the dsp56002. the dsp56002 is configured for normal mode asyn- chronous operation with a gated internal clock (syn = 0, gck = 1, sckd = 1). the frame sync pin is generated internally (sc2 = 1), the transfers are 16 bits wide (wl1 = 1, wl0 = 0), and the frame sync signal frames the 16 bits (fsl = 0). the frame sync signal is available on the sc2 pin, but it must be inverted before it is applied to the AD9838. the interface to the dsp56000/dsp56001 is similar to that of the dsp56002. AD9838 fsync sdata sclk dsp56002 sc2 std sck 09077-035 figure 30. dsp56002 to AD9838 interface
AD9838 rev. a | page 26 of 32 evaluation board the AD9838 evaluation board allows designers to evaluate the high performance AD9838 dds modulator with a minimum of effort. system demonstration platform the system demonstration platform (sdp) is a hardware and software evaluation tool for use in conjunction with product evaluation boards. the sdp board is based on the blackfin? adsp-bf527 processor with usb connectivity to the pc through a usb 2.0 high speed port. for more information, see the sdp board product page. note that the sdp board is sold separately from the AD9838 evaluation board. AD9838 to sport interface the analog devices sdp board has a sport serial port that is used to control the serial inputs to the AD9838. the connections are shown in figure 31 . AD9838 fsync sclk sdata adsp-bf527 sport_tfs sport_tsclk sport_dt0 09077-041 figure 31. sdp to AD9838 interface evaluation kit the dds evaluation kit includes a populated, tested AD9838 printed circuit board (pcb). the schematics of the evaluation board are shown in figure 33 and figure 34 . the software provided in the evaluation kit allows the user to easily program the AD9838 (see figure 32 ). the evaluation soft- ware runs on any ibm-compatible pc with microsoft? windows? software installed (including windows 7). the software is com- patible with both 32-bit and 64-bit operating systems. more information about the evaluation software is available on the software cd and on the AD9838 product page . 09077-036 figure 32. AD9838 evaluation software interface crystal oscillator vs. external clock the AD9838 can operate with master clocks up to 16 mhz. a 16 mhz oscillator is included on the evaluation board. this oscillator can be removed and, if required, an external cmos clock can be connected to the part. options for the general oscillator include the following: ? ael 301-series oscillators, ael crystals ? sg-310scn oscillators, epson electronics power supply power to the AD9838 evaluation board can be provided from the usb connector or externally through pin connections. the power leads should be twisted to reduce ground loops.
AD9838 rev. a | page 27 of 32 evaluation board schematics 09077-042 figure 33. evaluation board schematic
AD9838 rev. a | page 28 of 32 09077-043 figure 34. sdp connector schematic
AD9838 rev. a | page 29 of 32 evaluation board layout 09077-044 figure 35. evaluation board layout
AD9838 rev. a | page 30 of 32 outline dimensions 0.50 bsc 0.50 0.40 0.30 0.30 0.25 0.20 compliant to jedec standards mo-220-wggd. 061609-b bottom view top view exposed pad p i n 1 i n d i c a t o r 4.10 4.00 sq 3.90 seating plane 0.80 0.75 0.70 0.05 max 0.02 nom 0.20 ref 0.25 min coplanarity 0.08 pin 1 indicator 2.65 2.50 sq 2.35 for proper connection of the exposed pad, refer to the pin configuration and function descriptions section of this data sheet. 1 20 6 10 11 15 16 5 figure 36. 20-lead lead frame chip scale package [lfcsp_wq] 4 mm 4 mm body, very very thin quad (cp-20-10) dimensions shown in millimeters ordering guide model 1, 2 temperature range max mclk package description package option AD9838bcpz-rl ?40c to +125c 16 mhz 20-lead lead frame chip scale package [lfcsp_wq] cp-20-10 AD9838bcpz-rl7 ?40c to +125c 16 mhz 20-lead lead frame chip scale package [lfcsp_wq] cp-20-10 AD9838acpz-rl ?40c to +125c 5 mhz 20-lead lead frame chip scale package [lfcsp_wq] cp-20-10 AD9838acpz-rl7 ?40c to +125c 5 mhz 20-lead lead frame chip scale package [lfcsp_wq] cp-20-10 eval-AD9838sdz evaluation board 1 z = rohs compliant part. 2 the evaluation board fo r the AD9838 requires the system de monstration platform (sdp) board, which is sold separately.
AD9838 rev. a | page 31 of 32 notes
AD9838 rev. a | page 32 of 32 notes ?2011 analog devices, inc. all rights reserved. trademarks and registered trademarks are the prop erty of their respective owners. d09077-0-4/11(a)


▲Up To Search▲   

 
Price & Availability of AD9838

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X